package com.xywh.wanandroid.data.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

//知识体系
class KnowledgeTree : ArrayList<KnowledgeTreeItem>()

@Parcelize
data class KnowledgeTreeItem(
    val articleList: Article,
    val author: String,
    val children: List<Children>,
    val courseId: Int,
    val cover: String,
    val desc: String,
    val id: Int,
    val lisense: String,
    val lisenseLink: String,
    val name: String,
    val order: Int,
    val parentChapterId: Int,
    val type: Int,
    val userControlSetTop: Boolean,
    val visible: Int
) : Parcelable

@Parcelize
data class Children(
    val articleList: Article,
    val author: String,
    val courseId: Int,
    val cover: String,
    val desc: String,
    val id: Int,
    val lisense: String,
    val lisenseLink: String,
    val name: String,
    val order: Int,
    val parentChapterId: Int,
    val type: Int,
    val userControlSetTop: Boolean,
    val visible: Int
) : Parcelable